@import 'base.css';

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

#app {
  width: 100%;
  height: 100%;
}

.el-container {
  height: 100%;
}

.el-aside {
  height: 100vh;
}

.el-main {
  height: 100%;
  padding: 20px;
  background-color: #f0f2f5;
}

/* 确保内容区域占满剩余空间 */
.layout-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.layout-container > .el-container {
  flex: 1;
  height: 100%;
}

a,
.green {
  text-decoration: none;
  color: hsla(160, 100%, 37%, 1);
  transition: 0.4s;
  padding: 3px;
}

@media (hover: hover) {
  a:hover {
    background-color: hsla(160, 100%, 37%, 0.2);
  }
}

@media (min-width: 1024px) {
  body {
    display: flex;
    place-items: center;
  }

}
